import yaml,logging
def read_yaml():
    with open('D:\gao62301a\zoukao2\data\login.yaml','r',encoding='utf-8') as e:
        return yaml.safe_load(e)

def send_log():
    logging.basicConfig(filename='zk.log',filemode='w+',format='%(levelname)s-%(asctime)s-%(filename)s-%(message)s',level=logging.DEBUG)
